import { Type } from 'class-transformer';

export class CreateUserDto {
  username: string;
  nickname: string;
  deptId: number;
  roleIds: number[];

  @Type(() => Number)
  status?: number;
  password?: string;
  @Type(() => Number)
  gender?: number;
  mobile?: string;
  email?: string;
}
